// ref 转发组件
import React from 'react'
const C = React.forwardRef((props,ref)=>{
    console.log(props)
    console.log(ref)
    return <input type="text" ref={ref}/>
})

export default C
